package sk.stuba.fiit.pki.dao;

import java.util.Collection;
import java.util.List;

import org.springframework.dao.DataAccessException;

import sk.stuba.fiit.pki.entity.CRLEntity;
import sk.stuba.fiit.pki.entity.CertificateEntity;

public interface CrlDao{

	public List<CRLEntity> findCRLs() throws DataAccessException;
    
  
    public void save(CRLEntity certificateEntity);
    
    
 
    public void delete(CRLEntity certificateEntity);
    
 
    public CRLEntity findCrlBySerialNumber(Integer id) throws DataAccessException;
}
